<div class="cat">
<img src="/images/mgen/icon/pastille.png" style="vertical-align: top">
<h1>Artefacts</h1>
</div>
    <table class="cont-1">
      <thead>
        <tr>
          <th>Icône</th>
          <th>Nom</th>
          <th>Possesseur</th>
        </tr>
      </thead>
      <tbody>
        <?php foreach ($ktd_artefacts as $ktd_artefact): ?>
        <tr>
          <td><img src="<?php echo $ktd_artefact->getIconLink() ?>"/></td>
          <td><?php echo $ktd_artefact->getName() ?></td>
          <td>
              <?php if($ktd_artefact->getOwner() != NULL): ?>
              <a href="<?php echo url_for("show_character", $ktd_artefact->getOwner())?>"><?php echo $ktd_artefact->getOwner()->getPseudo() ?></a>
              <?php endif;?>
              <?php if($ktd_artefact->getOwner() == NULL): ?>
              <span class="italic">Perdu dans la nature</span>
              <?php endif;?>
          </td>
        </tr>
        <?php endforeach; ?>
      </tbody>
    </table>

